fix(mysql): bound ORC roleProbe client calls#3117
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3117 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 147 149 +2
Lines 23282 23483 +201
======================================
- Misses 23282 23483 +201 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Reviewed head Blocker 1 — Blocker 2 (verify-before-merge) — kbagent contract for empty roleProbe output. The probe now returns Verify-flag 1 — action budget fit. Verify-flag 2 — Minor: probe path discards orchestrator-client stderr entirely ( Classes walked: 1 (no silent fallback hiding root cause — the converged-despite-rc!=0 path is positively verified, good), 2/3 OK, 4 flagged (empty-output sentinel meaning must be confirmed at the consumer — Blocker 2), 5/6/7 N/A-or-clean, 8 OK (rc captured immediately after substitutions). Scope: everything except commit e893b1a serves the stated ORC stability line; e893b1a should be split out. |
2957aa3 to
86c7cea
Compare
|
Rebased directly onto latest main b55707f. New head: 86c7cea. Two conflicts in orc-switchover.sh were resolved by preserving main's fail-closed Orchestrator error checks and the branch's bounded client/post-check behavior. Post-rebase bash syntax, helm lint, full chart render, conflict-marker scan, and git diff --check pass. The PR base is now main; new CI is the remaining automated gate. |
Problem
Focused Orchestrator acceptance evidence showed repeated kbagent role-probe timeouts and an unbounded switchover path. The old scripts also allowed failed Orchestrator prechecks to be confused with normal topology output.
Changes
syncerctl getroleprobe at 1 second.Rebase Resolution
The branch was rebased onto current
mainat exact head86c7cea083adc5031b5ed8d2c317a6c552046f8f. Two conflicts inorc-switchover.shwere resolved by retaining main's fail-closed Orchestrator rc checks together with this branch's bounded precheck and post-check convergence logic.Validation
bash -non role-probe and switchover scripts: PASShelm lint addons/mysql: PASSgit diff --check: PASSEvidence Boundary
This is source, syntax, render, and CI evidence. Focused runtime replay remains N=0, so the PR stays draft and does not establish switchover PASS, full-suite PASS, or release readiness.